<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%if(null == session.getAttribute("adminId")) response.sendRedirect(basePath + "index.jsp"); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>风格网网站平台</title>
		<link rel="stylesheet" type="text/css" href="css/global.css">
		<link rel="stylesheet" type="text/css" href="css/layout.css">
		<link rel="stylesheet" type="text/css" href="css/app.css" />
		<link rel="stylesheet" type="text/css" href="css/dialog.css">
		<link rel="stylesheet" type="text/css" href="css/page.css">
		<link rel="stylesheet" type="text/css" href="css/form.css">
		<link rel="stylesheet" type="text/css" href="css/index.css">
		<link rel="stylesheet" type="text/css" href="css/style.css">
	<style type="text/css">
	html,body {
		overflow-y: hidden;
	} 
	</style>
		
	<!--[if gte IE 6]>
	<link rel="stylesheet" type="text/css" href="css/ie.css">
	<![endif]-->
	</head>
	<body>
		<div id="bodyContainer" class="auto">
			<div id="hd">
				<div id="logo">风格网后台管理系统</div>
				<div class="clear"></div>
				<div id="other">
					<a href="wel.jsp" target="mainFrame" class="desktop">桌面</a>
					<a href="logout.action" class="loginOut">退出</a>
				</div>
				<div id="weather">
				</div>
				<div id="welcome">
					<%=session.getAttribute("adminName")%>,欢迎进入本系统！
				</div>
			</div>
			<div id="bd" class="slmr">
				<div class="main">
					<div class="mainWarp">
						<div id="toolsShift"></div>
						<iframe id="mainFrame" name="mainFrame" src="wel.jsp" width=100%
							height="100%" frameborder="0"
							style="border: none; overflow-x: hidden;"></iframe>
					</div>
				</div>
				<div class="subCol">
					<div class="subMM">
						<%--<h2>
							文章管理
						</h2>
						<div>
							<a href="<%=basePath%>admin/news/listNews.jsp"
								target="mainFrame"><span class="allinformation"></span>文章列表</a>
							<a href="<%=basePath%>admin/news/listNewsCategory.jsp"
								target="mainFrame"><span class="formArchive"></span>类目管理</a>
							<a href="<%=basePath%>admin/news/listFaqs.jsp"
								target="mainFrame"><span class="allinformation"></span>帮助中心</a>
							<!-- <a href="<%=basePath%>admin/news/listJob.jsp"
								target="mainFrame"><span class="allinformation"></span>招聘信息</a> -->
						</div>
						--%><h2>
							产品管理
						</h2>
						<div>

							<a href="<%=basePath%>admin/product/listProduct.jsp" class="new" target="mainFrame"><span class="allinformation"></span>产品列表</a>
							<!--<a href="<%=basePath%>admin/product/listProduct.jsp?isNew=1" class="new" target="mainFrame"><span class="allinformation"></span>新产品管理</a>
							<a href="<%=basePath%>admin/product/listProduct.jsp?isHot=1" class="new" target="mainFrame"><span class="allinformation"></span>热销产品管理</a>
							<a href="<%=basePath%>admin/product/listProduct.jsp?ispromote=1" class="new" target="mainFrame"><span class="allinformation"></span>推荐产品管理</a>
							 <a href="<%=basePath%>admin/product/importproducts.jsp" class="new" target="mainFrame"><span class="allinformation"></span>批量导入产品</a> 
							<a href="<%=basePath%>admin/product/listProductCategory.jsp" class="new" target="mainFrame"><span class="formArchive"></span>产品类目</a>-->
						</div>
						<h2>
							用户管理
						</h2>
						<div>
						<%if("admin".equals((String)session.getAttribute("adminId"))) {%>
							<a href="<%=basePath%>admin/admin/listAdmin.jsp" target="mainFrame"><span class="user"></span>管理员列表</a>
						<%} %>
							<a href="<%=basePath%>admin/admin/editSelf.action" target="mainFrame"><span class="askApply"></span>修改我的信息</a>
						</div>
						<h2>
							首页广告管理
						</h2>
						<div>
							<a href="<%=basePath%>admin/ListPhoto.action" target="mainFrame"><span></span>首页广告管理</a>
						</div>
						<%--<h2>
							流程
						</h2>
						<div>
							<a href="<%=basePath%>admin/readAboutUs.action" target="mainFrame"><span></span>企业简介</a>
						</div>
						<h2>
							联系我们
						</h2>
						<div>
							<a href="<%=basePath%>admin/readContractUs.action" target="mainFrame"><span></span>联系我们</a>
						</div>

				--%></div>
			</div>
			<div id="ft"></div>
		</div>
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/jqueryui.js"></script>
		<script type="text/javascript" src="js/simpleDialog.js"></script>
		<script type="text/javascript" src="js/simpleui.js"></script>
		<script type="text/javascript" src="js/base.js"></script>
		<script type="text/javascript" src="js/index.js"></script>
	</body>
</html>
